package td.data{
	public class CreepData {
		private var _cid:int;//id
		private var _cname:String;//名字
		private var _ispeed:int;//移动速度
		private var _ihp:int;//血量
		private var _idef:int;//防御
		private var _nduck:Number;//闪避
		private var _ilevel:int;//等级
		private var _nreward:Number;//奖励
		
		/**
		 * 怪物数据
		 * @param	cid			id
		 * @param	cname		名字
		 * @param	ispeed		移动速度
		 * @param	ihp			血量
		 * @param	idef		防御
		 * @param	nduck		闪避
		 * @param	ilevel		等级
		 * @param	nreward		奖励
		 */
		public function CreepData(cid:int,cname:String,ispeed:int,ihp:int,idef:int,nduck:Number,ilevel:int,nreward:Number) {
			_cid = cid;
			_cname = cname;
			_ispeed = ispeed;
			_ihp = ihp;
			_idef = idef;
			_nduck = nduck;
			_ilevel = ilevel;
			_nreward = nreward;
		}
		
		public function get cid():int { return _cid; }
		
		public function set cid(value:int):void 
		{
			_cid = value;
		}
		
		public function get cname():String { return _cname; }
		
		public function set cname(value:String):void 
		{
			_cname = value;
		}
		
		public function get ispeed():int { return _ispeed; }
		
		public function set ispeed(value:int):void 
		{
			_ispeed = value;
		}
		
		public function get ihp():int { return _ihp; }
		
		public function set ihp(value:int):void 
		{
			_ihp = value;
		}
		
		public function get idef():int { return _idef; }
		
		public function set idef(value:int):void 
		{
			_idef = value;
		}
		
		public function get nduck():Number { return _nduck; }
		
		public function set nduck(value:Number):void 
		{
			_nduck = value;
		}
		
		public function get ilevel():int { return _ilevel; }
		
		public function set ilevel(value:int):void 
		{
			_ilevel = value;
		}
		
		public function get nreward():Number { return _nreward; }
		
		public function set nreward(value:Number):void 
		{
			_nreward = value;
		}
	}
}